/* Global css reset */
*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0;}

/* Clearfix */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
    font-family: 'Lato', "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", Calibri, Arial, sans-serif;
    color: #47a3da;
}

a {
    color: #f0f0f0;
    text-decoration: none;
}

a:hover {
    color: #000;
}

.icon {
    color: #47a3da;
    -webkit-font-smoothing: antialiased;
}

.icon:hover {
    color: #f0f0f0;
}

.main,
.container > header {
    width: 95%;
    max-width: 69em;
    margin: 0 auto;
    padding: 0 1.875em 3.125em;
}

.container > header {
    padding: 2.875em 1.875em 1.875em;
}

.container > header a {
    color: #47a3da;
}

.container > header h1 {
    font-size: 2.125em;
    line-height: 1.3;
    margin: 0;
    float: left;
    font-weight: 400;
}

.container > header span {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    padding: 0 0 0.6em 0.1em;
}

.container > header nav {
    float: right;
}

.container > header nav a {
    display: block;
    float: left;
    position: relative;
    width: 2.5em;
    height: 2.5em;
    background: #fff;
    border-radius: 50%;
    margin: 0 0.3em;
    border: 4px solid #47a3da;
    padding: 8px 0 0 10px;
}

.container > header nav a:after {
    content: attr(title);
    color: #47a3da;
    position: absolute;
    width: 600%;
    top: 120%;
    text-align: right;
    right: 0;
    opacity: 0;
    pointer-events: none;
}

.container > header nav a:hover:after {
    opacity: 1;
}

.container > header nav a:hover {
    background: #47a3da;
}

.icon-drop:before, 
.icon-arrow-left:before {
    font-family: 'fontawesome';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    speak: none;
    font-style: normal;
    font-weight: normal;
    line-height: 2;
    text-align: center;
    color: #47a3da;
    -webkit-font-smoothing: antialiased;
    text-indent: 8000px;
    padding-left: 8px;
}

.container > header nav a:hover:before {
    color: #fff;
}

.icon-drop:before {
    content: "\e000";
}

.icon-arrow-left:before {
    content: "\f060";
}

.gb_timeline {
    margin: 30px 0 0 0;
    padding: 0;
    list-style: none;
    position: relative;
} 

/* The line */
.gb_timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    background: #afdcf8;
    left: 20%;
    margin-left: -10px;
}

.gb_timeline > li {
    position: relative;
}

/* The date/time */
.gb_timeline > li .gb_tmtime {
    display: block;
    width: 25%;
    padding-right: 100px;
    position: absolute;
}

.gb_timeline > li .gb_tmtime span {
    display: block;
    text-align: right;
}

.gb_timeline > li .gb_tmtime span:first-child {
    font-size: 0.9em;
    color: #bdd0db;
}

.gb_timeline > li .gb_tmtime span:last-child {
    font-size: 2.9em;
    color: #3594cb;
}

.gb_timeline > li:nth-child(odd) .gb_tmtime span:last-child {
    color: #6cbfee;
}

/* Right content */
.gb_timeline > li .gb_tmlabel {
    margin: 0 0 15px 25%;
    background: #3594cb;
    color: #fff;
    padding: 1.2em 2em;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    border-radius: 5px;
}

.gb_timeline > li:nth-child(odd) .gb_tmlabel {
    background: #6cbfee;
}

.gb_timeline > li .gb_tmlabel h2 { 
    margin-top: 0px;
    padding: 0 0 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* The triangle */
.gb_timeline > li .gb_tmlabel:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #3594cb;
    border-width: 10px;
    top: 10px;
}

.gb_timeline > li:nth-child(odd) .gb_tmlabel:after {
    border-right-color: #6cbfee;
}

/* The icons */
.gb_timeline > li .gb_tmicon {
    width: 40px;
    height: 40px;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 1.4em;
    line-height: 40px;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    color: #fff;
    background: #46a4da;
    border-radius: 50%;
    box-shadow: 0 0 0 8px #afdcf8;
    text-align: center;
    left: 20%;
    top: 0;
    margin: 0 0 0 -25px;
}

.gb_timeline > li .action {
    position: absolute;
    top: 20px;
    right: 4%;
}

.gb_timeline > li .action a {
    margin-left: 10px;
}

.gb_timeline > li .msg-reply {
    border-top: 1px solid rgba(255,255,255,0.4);
    font-size: 80%;
}

.sign-form {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 18px;
}

.sign-form div {
    margin: 15px 0;
}

.sign-form input {
    width: 75%;
    height: 28px;
    border: 2px solid white;
    outline: none;
    padding: 2px 8px;
    float: right;
}

.sign-form input:focus {
    border: 2px solid #6BE61A;
}

#button-submit {
    width: 36.5%;
    height: 30px;
    margin-right: 10px;
    border: none;
    color: #f0f0f0;
    background-color: #6BE61A;
    font-weight: bolder;
}

#button-reset {
    width: 36.5%;
    height: 30px;
    color: #f0f0f0;
    border: none;
    background-color: grey;
    font-weight: bolder;
}

.msg-form {
    width: 96%;
    height: 140px;
    margin: 0 auto;
}

.msg-form textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid white;
    outline: none;
    resize: none;
}

.msg-form textarea:focus {
    border: 2px solid #6BE61A;
}

.msg-form input {
    float: right;
    width: 25% !important;
}

.reply-form {
    width: 100%;
    margin: 0 auto;
    display: none;
}

.reply-form textarea {
    width: 90%;
    height: 50px;
    padding: 10px;
    resize: none;
    border: 2px solid white;
}

.reply-form input {
    float: right;
    border: none;
    width: 8%;
    height: 50px;
    text-align: center;
    background-color: #6BE61A;
    color: #f0f0f0;
}

/* Example Media Queries */
@media screen and (max-width: 65.375em) {

    .gb_timeline > li .gb_tmtime span:last-child {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 47.2em) {
    .main {
        width: 98%;
        padding: 0 1.2em 3.125em;
    }
    .container > header {
        padding: 1em 1.2em 3.125em;
    }
    .gb_timeline:before {
        display: none;
    }

    .gb_timeline > li .gb_tmtime {
        width: 100%;
        position: relative;
        padding: 0 0 20px 0;
    }

    .gb_timeline > li .gb_tmtime span {
        text-align: left;
    }

    .gb_timeline > li .gb_tmlabel {
        margin: 0 0 30px 0;
        padding: 1em;
        font-weight: 400;
        font-size: 95%;
    }

    .gb_timeline > li .gb_tmlabel:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #3594cb;
        top: -20px;
    }

    .gb_timeline > li:nth-child(odd) .gb_tmlabel:after {
        border-right-color: transparent;
        border-bottom-color: #6cbfee;
    }

    .gb_timeline > li .gb_tmicon {
        position: relative;
        float: right;
        left: auto;
        margin: -55px 5px 0 0px;
    }   
    .signup-form {
        width: 100%;
        height: 200px;
    }
    .signup-form div {
        margin: 18px 0;
    }
    .reply-form textarea {
        width: 82%;
    }
    .reply-form input {
        width: 16%;
    }
}

